package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.ContractPlanAmount;

/**
 * 账款计划Service接口
 *
 * @author ruoyi
 * @date 2024-03-14
 */
public interface IContractPlanAmountService
{
    /**
     * 查询账款计划
     *
     * @param id 账款计划主键
     * @return 账款计划
     */
    public ContractPlanAmount selectContractPlanAmountById(Long id);

    List<ContractPlanAmount> selectContractPlanAmountByContractId(Long contractId);

    /**
     * 查询账款计划列表
     *
     * @param contractPlanAmount 账款计划
     * @return 账款计划集合
     */
    public List<ContractPlanAmount> selectContractPlanAmountList(ContractPlanAmount contractPlanAmount);

    /**
     * 新增账款计划
     *
     * @param contractPlanAmount 账款计划
     * @return 结果
     */
    public int insertContractPlanAmount(ContractPlanAmount contractPlanAmount);

    /**
     * 修改账款计划
     *
     * @param contractPlanAmount 账款计划
     * @return 结果
     */
    public int updateContractPlanAmount(ContractPlanAmount contractPlanAmount);

    /**
     * 批量删除账款计划
     *
     * @param ids 需要删除的账款计划主键集合
     * @return 结果
     */
    public int deleteContractPlanAmountByIds(Long[] ids);

    /**
     * 删除账款计划信息
     *
     * @param id 账款计划主键
     * @return 结果
     */
    public int deleteContractPlanAmountById(Long id);
}
